﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using Gui.Functies.Login;

namespace Gui
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false); 
            Login L = new Login();
            if (L.ShowDialog() == DialogResult.OK)
            {
                Application.Run(new Gui.Functies.Project_keuzemenu.Projectkeuzemenu(Login.ids, Login.title, Login.description, Login.projectAmount, Login.userID));
            }
            else
            {
                Application.Exit();
            }

        }
    }
}
